<?php
/**
 * @version		$Id: default.php 17187 2010-05-19 11:18:22Z infograf768 $
 * @package		Joomla.Site
 * @subpackage	com_contacts
 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

$document = & JFactory::getDocument();

$document->setTitle( 'LĐLĐ Thanh Hóa - Thu vien anh - '. str_replace('-', ' ', ucfirst( $this->galleryInfo->category_title ) ) . ' - ' . str_replace('-', ' ', ucfirst( $this->galleryInfo->title ) ) );
$document->setDescription($this->galleryInfo->metadesc);
$document->setMetaData('keywords', $this->galleryInfo->metakey);
?>

<script type="text/javascript">
<!--
var lightboxLoadingImage = '<?php echo JURI::base(); ?>components/com_je_gallery/helpers/lightbox/images/loading.gif';
var lightboxCloseImage = '<?php echo JURI::base(); ?>components/com_je_gallery/helpers/lightbox/images/closelabel.gif';
//-->
</script>

<link rel="stylesheet" href="<?php echo JURI::base(); ?>components/com_je_gallery/helpers/lightbox/css/lightbox.css" type="text/css" media="screen" />

<script src="<?php echo JURI::base(); ?>components/com_je_gallery/helpers/lightbox/js/prototype.js" type="text/javascript"></script>
<script src="<?php echo JURI::base(); ?>components/com_je_gallery/helpers/lightbox/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="<?php echo JURI::base(); ?>components/com_je_gallery/helpers/lightbox/js/lightbox.js" type="text/javascript"></script>

<div class="blog-featured">

	<h2><?php echo $this->galleryInfo->title; ?></h2>
	
	<div class="clr"></div>
	
	<div class="list-image-in-gallery">
		<?php foreach ($this->items as $item): ?>
		<div class="round-img">
			<div class="div-img">
				<a href="<?php echo $item->images; ?>" rel="lightbox[gallery]" title="<?php echo $item->title; ?>" rel="gal">
					<img alt="<?php echo $item->title; ?>" src="<?php echo $item->images; ?>" width="150" />
				</a>
			</div>
		</div>
		<?php endforeach; ?>
	</div>
	
	<div class="clr"></div>
	
	<div class="pagination">
		<?php echo $this->pagination->getPagesLinks(); ?>
	</div>
	
</div>